#pragma once

#include "Math.h"
#include <vector>

struct Vertex
{
	Vector3 position;
};

typedef std::vector<Vertex> VertexBuffer;
typedef std::vector<int> IndexBuffer;

class Mesh
{
public:


	Mesh(void);
	~Mesh(void);

	void Render();

	void SetVertexBuffer(VertexBuffer* vb) {
		mVertexBuffer = vb;
	}

	void SetIndexBuffer(IndexBuffer* ib) {
		mIndexBuffer = ib;
	}

	void SetColor(Color color) {
		mColor = color;
	}

private:
	Color mColor;
	VertexBuffer* mVertexBuffer;
	IndexBuffer* mIndexBuffer;
};
